<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>MainWindow</class>
 <widget class="QMainWindow" name="MainWindow">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
    <width>1000</width>
    <height>740</height>
   </rect>
  </property>
  <property name="mouseTracking">
   <bool>false</bool>
  </property>
  <property name="windowTitle">
   <string>Информация об устройстве</string>
  </property>
  <property name="windowIcon">
   <iconset resource="invres.qrc">
    <normaloff>:/img/mos-identify.svg</normaloff>:/img/mos-identify.svg</iconset>
  </property>
  <property name="iconSize">
   <size>
    <width>22</width>
    <height>22</height>
   </size>
  </property>
  <widget class="QWidget" name="centralwidget">
   <property name="contextMenuPolicy">
    <enum>Qt::NoContextMenu</enum>
   </property>
   <layout class="QVBoxLayout" name="verticalLayout">
    <property name="leftMargin">
     <number>1</number>
    </property>
    <property name="topMargin">
     <number>1</number>
    </property>
    <property name="rightMargin">
     <number>1</number>
    </property>
    <property name="bottomMargin">
     <number>1</number>
    </property>
    <item>
     <widget class="QTabWidget" name="tabWidget">
      <property name="currentIndex">
       <number>0</number>
      </property>
      <widget class="QWidget" name="idDeviceTab">
       <attribute name="title">
        <string>Идентификация устройства</string>
       </attribute>
       <layout class="QVBoxLayout" name="verticalLayout_3">
        <property name="spacing">
         <number>15</number>
        </property>
        <property name="topMargin">
         <number>10</number>
        </property>
        <property name="bottomMargin">
         <number>10</number>
        </property>
        <item>
         <widget class="QPushButton" name="helpButton">
          <property name="text">
           <string>Информация</string>
          </property>
         </widget>
        </item>
        <item>
         <layout class="QHBoxLayout" name="horizontalLayout_4">
          <item>
           <widget class="QLineEdit" name="UDSID">
            <property name="enabled">
             <bool>true</bool>
            </property>
            <property name="alignment">
             <set>Qt::AlignCenter</set>
            </property>
            <property name="readOnly">
             <bool>true</bool>
            </property>
            <property name="placeholderText">
             <string>UDS ID ещё не получен!</string>
            </property>
           </widget>
          </item>
          <item>
           <widget class="QToolButton" name="cpUDSID">
            <property name="text">
             <string>Копировать</string>
            </property>
           </widget>
          </item>
         </layout>
        </item>
        <item>
         <layout class="QHBoxLayout" name="horizontalLayout_5" stretch="1,2">
          <item>
           <widget class="QLineEdit" name="InvEdit">
            <property name="text">
             <string/>
            </property>
            <property name="placeholderText">
             <string>Инвентарный номер</string>
            </property>
            <property name="clearButtonEnabled">
             <bool>true</bool>
            </property>
           </widget>
          </item>
          <item>
           <widget class="QLineEdit" name="RoomEdit">
            <property name="text">
             <string/>
            </property>
            <property name="placeholderText">
             <string>Владелец (ФИО или кабинет или описание)</string>
            </property>
            <property name="clearButtonEnabled">
             <bool>true</bool>
            </property>
           </widget>
          </item>
         </layout>
        </item>
        <item>
         <layout class="QHBoxLayout" name="horizontalLayout_6">
          <item>
           <widget class="QComboBox" name="RoleCombobox">
            <property name="currentText">
             <string/>
            </property>
            <property name="currentIndex">
             <number>-1</number>
            </property>
            <property name="placeholderText">
             <string>Назначение устройства</string>
            </property>
            <item>
             <property name="text">
              <string>Без назначения</string>
             </property>
            </item>
            <item>
             <property name="text">
              <string>Учителя</string>
             </property>
            </item>
            <item>
             <property name="text">
              <string>Ученика</string>
             </property>
            </item>
            <item>
             <property name="text">
              <string>Интерактивная панель</string>
             </property>
            </item>
            <item>
             <property name="text">
              <string>Мобильный класс</string>
             </property>
            </item>
            <item>
             <property name="text">
              <string>Администратора</string>
             </property>
            </item>
           </widget>
          </item>
          <item>
           <widget class="QComboBox" name="TypeCombobox">
            <property name="currentIndex">
             <number>-1</number>
            </property>
            <property name="placeholderText">
             <string>Тип устройства</string>
            </property>
            <item>
             <property name="text">
              <string>Без типа</string>
             </property>
            </item>
            <item>
             <property name="text">
              <string>Системный блок</string>
             </property>
            </item>
            <item>
             <property name="text">
              <string>Моноблок</string>
             </property>
            </item>
            <item>
             <property name="text">
              <string>Ноутбук</string>
             </property>
            </item>
            <item>
             <property name="text">
              <string>Планшет</string>
             </property>
            </item>
            <item>
             <property name="text">
              <string>Интерактивная панель</string>
             </property>
            </item>
           </widget>
          </item>
         </layout>
        </item>
        <item>
         <widget class="QLabel" name="label_3">
          <property name="text">
           <string>Поиск по образовательной организации</string>
          </property>
         </widget>
        </item>
        <item>
         <layout class="QHBoxLayout" name="horizontalLayout_7">
          <item>
           <widget class="QLineEdit" name="schoolfilter">
            <property name="text">
             <string/>
            </property>
            <property name="placeholderText">
             <string>введите наименование ОО</string>
            </property>
            <property name="clearButtonEnabled">
             <bool>true</bool>
            </property>
           </widget>
          </item>
          <item>
           <widget class="QPushButton" name="searchButton">
            <property name="text">
             <string>Поиск</string>
            </property>
           </widget>
          </item>
         </layout>
        </item>
        <item>
         <widget class="QSplitter" name="searchPanel">
          <property name="minimumSize">
           <size>
            <width>0</width>
            <height>200</height>
           </size>
          </property>
          <property name="orientation">
           <enum>Qt::Horizontal</enum>
          </property>
          <widget class="QTableView" name="schooltable">
           <property name="selectionBehavior">
            <enum>QAbstractItemView::SelectRows</enum>
           </property>
          </widget>
          <widget class="QTableView" name="buildingstable">
           <property name="selectionBehavior">
            <enum>QAbstractItemView::SelectRows</enum>
           </property>
          </widget>
         </widget>
        </item>
        <item>
         <widget class="QLabel" name="label_6">
          <property name="text">
           <string>Наименование образовательной организации</string>
          </property>
         </widget>
        </item>
        <item>
         <widget class="QLineEdit" name="SchoolEdit">
          <property name="enabled">
           <bool>true</bool>
          </property>
          <property name="toolTip">
           <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Для изменения используйте Поиск&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
          </property>
          <property name="toolTipDuration">
           <number>5</number>
          </property>
          <property name="text">
           <string/>
          </property>
          <property name="readOnly">
           <bool>true</bool>
          </property>
          <property name="placeholderText">
           <string>не настроено, используйте &quot;Поиск&quot;</string>
          </property>
         </widget>
        </item>
        <item>
         <widget class="QLabel" name="label_7">
          <property name="text">
           <string>Адрес корпуса</string>
          </property>
         </widget>
        </item>
        <item>
         <widget class="QLineEdit" name="AddressEdit">
          <property name="enabled">
           <bool>true</bool>
          </property>
          <property name="toolTip">
           <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&amp;lt;html&amp;gt;&amp;lt;head/&amp;gt;&amp;lt;body&amp;gt;&amp;lt;p&amp;gt;Для изменения используйте Поиск&amp;lt;/p&amp;gt;&amp;lt;/body&amp;gt;&amp;lt;/html&amp;gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
          </property>
          <property name="toolTipDuration">
           <number>5</number>
          </property>
          <property name="text">
           <string/>
          </property>
          <property name="readOnly">
           <bool>true</bool>
          </property>
          <property name="placeholderText">
           <string>не настроено, используйте &quot;Поиск&quot;</string>
          </property>
         </widget>
        </item>
        <item>
         <widget class="QPushButton" name="applyButton">
          <property name="enabled">
           <bool>false</bool>
          </property>
          <property name="sizePolicy">
           <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
            <horstretch>0</horstretch>
            <verstretch>0</verstretch>
           </sizepolicy>
          </property>
          <property name="text">
           <string>Записать</string>
          </property>
         </widget>
        </item>
        <item>
         <spacer name="verticalSpacer_3">
          <property name="orientation">
           <enum>Qt::Vertical</enum>
          </property>
          <property name="sizeHint" stdset="0">
           <size>
            <width>20</width>
            <height>40</height>
           </size>
          </property>
         </spacer>
        </item>
       </layout>
      </widget>
      <widget class="QWidget" name="hostnameTab">
       <attribute name="title">
        <string>Имя компьютера</string>
       </attribute>
       <layout class="QVBoxLayout" name="verticalLayout_2" stretch="0,0,0,0,0,1">
        <property name="spacing">
         <number>15</number>
        </property>
        <item>
         <layout class="QHBoxLayout" name="horizontalLayout_3" stretch="0,0,0">
          <item>
           <widget class="QLineEdit" name="computername">
            <property name="alignment">
             <set>Qt::AlignCenter</set>
            </property>
            <property name="placeholderText">
             <string>Имя компьютера</string>
            </property>
           </widget>
          </item>
          <item>
           <widget class="QCheckBox" name="machineid">
            <property name="toolTip">
             <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Рекомендуется установить флажок, если система установлена на устройство путём клонирования с другого устройства.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
            </property>
            <property name="text">
             <string>Перегенерировать machine-id</string>
            </property>
           </widget>
          </item>
          <item>
           <widget class="QPushButton" name="chNameandRestart">
            <property name="text">
             <string>Изменить и перезагрузить</string>
            </property>
           </widget>
          </item>
         </layout>
        </item>
        <item>
         <spacer name="verticalSpacer_2">
          <property name="orientation">
           <enum>Qt::Vertical</enum>
          </property>
          <property name="sizeHint" stdset="0">
           <size>
            <width>20</width>
            <height>40</height>
           </size>
          </property>
         </spacer>
        </item>
        <item>
         <widget class="QLabel" name="label_8">
          <property name="text">
           <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Введите номера или короткие названия английскими буквами школы, корпуса, кабинета и устройства, согласно &lt;a href=&quot;https://os.mos.ru/git/MOS/doc-standart/src/master/hostname-rules.md&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#007af4;&quot;&gt;правилам именования&lt;/span&gt;&lt;/a&gt;.&lt;br/&gt;Везде можно использовать английские буквы и цифры.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
          </property>
          <property name="alignment">
           <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
          </property>
          <property name="openExternalLinks">
           <bool>true</bool>
          </property>
         </widget>
        </item>
        <item>
         <layout class="QHBoxLayout" name="horizontalLayout">
          <item>
           <widget class="QLineEdit" name="schoolname">
            <property name="minimumSize">
             <size>
              <width>0</width>
              <height>25</height>
             </size>
            </property>
            <property name="inputMask">
             <string/>
            </property>
            <property name="placeholderText">
             <string>Школа</string>
            </property>
           </widget>
          </item>
          <item>
           <widget class="QLineEdit" name="corpname">
            <property name="minimumSize">
             <size>
              <width>0</width>
              <height>25</height>
             </size>
            </property>
            <property name="placeholderText">
             <string>Корпус</string>
            </property>
           </widget>
          </item>
          <item>
           <widget class="QLineEdit" name="cabname">
            <property name="minimumSize">
             <size>
              <width>0</width>
              <height>25</height>
             </size>
            </property>
            <property name="placeholderText">
             <string>Кабинет</string>
            </property>
           </widget>
          </item>
          <item>
           <widget class="QLineEdit" name="devicename">
            <property name="minimumSize">
             <size>
              <width>0</width>
              <height>25</height>
             </size>
            </property>
            <property name="placeholderText">
             <string>id устройства</string>
            </property>
           </widget>
          </item>
         </layout>
        </item>
        <item>
         <layout class="QHBoxLayout" name="horizontalLayout_2">
          <item>
           <widget class="QLabel" name="sugnameLabel">
            <property name="text">
             <string>Предлагаемый вариант имени:</string>
            </property>
           </widget>
          </item>
          <item>
           <widget class="QLineEdit" name="sugname">
            <property name="readOnly">
             <bool>true</bool>
            </property>
           </widget>
          </item>
          <item>
           <widget class="QPushButton" name="sugnameButton">
            <property name="text">
             <string>Скопировать</string>
            </property>
           </widget>
          </item>
         </layout>
        </item>
        <item>
         <spacer name="verticalSpacer">
          <property name="orientation">
           <enum>Qt::Vertical</enum>
          </property>
          <property name="sizeHint" stdset="0">
           <size>
            <width>20</width>
            <height>200</height>
           </size>
          </property>
         </spacer>
        </item>
       </layout>
      </widget>
     </widget>
    </item>
   </layout>
  </widget>
  <widget class="QMenuBar" name="menubar">
   <property name="geometry">
    <rect>
     <x>0</x>
     <y>0</y>
     <width>1000</width>
     <height>22</height>
    </rect>
   </property>
  </widget>
  <widget class="QStatusBar" name="statusbar"/>
  <action name="actionGeneration_hostname">
   <property name="checkable">
    <bool>true</bool>
   </property>
   <property name="text">
    <string>Generation hostname</string>
   </property>
  </action>
  <action name="showHelp">
   <property name="checkable">
    <bool>true</bool>
   </property>
   <property name="text">
    <string>Information</string>
   </property>
   <property name="shortcut">
    <string>F1</string>
   </property>
  </action>
 </widget>
 <resources>
  <include location="invres.qrc"/>
 </resources>
 <connections>
  <connection>
   <sender>schoolname</sender>
   <signal>textChanged(QString)</signal>
   <receiver>actionGeneration_hostname</receiver>
   <slot>trigger()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>133</x>
     <y>193</y>
    </hint>
    <hint type="destinationlabel">
     <x>-1</x>
     <y>-1</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>RoleCombobox</sender>
   <signal>currentIndexChanged(int)</signal>
   <receiver>actionGeneration_hostname</receiver>
   <slot>trigger()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>255</x>
     <y>160</y>
    </hint>
    <hint type="destinationlabel">
     <x>-1</x>
     <y>-1</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>TypeCombobox</sender>
   <signal>currentIndexChanged(int)</signal>
   <receiver>actionGeneration_hostname</receiver>
   <slot>trigger()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>744</x>
     <y>160</y>
    </hint>
    <hint type="destinationlabel">
     <x>-1</x>
     <y>-1</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>corpname</sender>
   <signal>textChanged(QString)</signal>
   <receiver>actionGeneration_hostname</receiver>
   <slot>trigger()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>377</x>
     <y>220</y>
    </hint>
    <hint type="destinationlabel">
     <x>-1</x>
     <y>-1</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>cabname</sender>
   <signal>textChanged(QString)</signal>
   <receiver>actionGeneration_hostname</receiver>
   <slot>trigger()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>622</x>
     <y>220</y>
    </hint>
    <hint type="destinationlabel">
     <x>-1</x>
     <y>-1</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>devicename</sender>
   <signal>textChanged(QString)</signal>
   <receiver>actionGeneration_hostname</receiver>
   <slot>trigger()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>866</x>
     <y>220</y>
    </hint>
    <hint type="destinationlabel">
     <x>-1</x>
     <y>-1</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>helpButton</sender>
   <signal>clicked()</signal>
   <receiver>showHelp</receiver>
   <slot>trigger()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>499</x>
     <y>75</y>
    </hint>
    <hint type="destinationlabel">
     <x>-1</x>
     <y>-1</y>
    </hint>
   </hints>
  </connection>
 </connections>
</ui>
